<?php

require_once '/usr/share/php/symfony/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  static protected $markdownLoaded = false;
  
  static public function registerMarkdown()
  {
  	if(self::$markdownLoaded)
  	{
  		return;
  	}
  	
  	set_include_path('sf_lib_dir'.'/vendor'.PATH_SEPARATOR.get_include_path());  	
  	require_once sfConfig::get('sf_lib_dir').'/vendor/markdown/markdown.php';
  	self::$markdownLoaded = true;
  }
	
	
	public function setup()
  {
    // for compatibility / remove and enable only the plugins you want
    $this->enableAllPluginsExcept(array('sfPropelPlugin', 'sfCompat10Plugin'));
  }
}
